<div class="layui-fluid">
    <div class="layui-form" id="layuiadmin-form-useradmin" lay-filter="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
        <div class="layui-form-item">
            <label class="layui-form-label">
                上级
            </label>
            <div class="layui-input-inline">
                <select name="ac_pid">    
                    <option value="">请选择</option>               
                    {$cat_options|raw}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">
                权限名
            </label>
            <div class="layui-input-block">
                <input autocomplete="off" class="layui-input" lay-verify="required" name="ac_name"  placeholder="请输入用户名" type="text"  >
                </input>
            </div>
        </div>  
        <div class="layui-form-item">
            <label class="layui-form-label">
                网址
            </label>
            <div class="layui-input-inline">
                <input autocomplete="off" class="layui-input"  name="ac_url" placeholder="请输入用户名" type="text"  >
                </input>
            </div>
             <div class="layui-form-mid layui-word-aux">输入如/admin/user/create</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                菜单
            </label>
            <div class="layui-input-block">
               <select name="ac_menu_flag">              
                {$ac_menu_flag|output_select=[1=>'是',2=>'否'],###|raw}
              </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">
                排序
            </label>
            <div class="layui-input-block">
                <input autocomplete="off" class="layui-input"   name="ac_order"   type="text"  value="100" >
                </input>
            </div>
        </div>  


         
        <div class="layui-form-item layui-hide">
             
            <input id="LAY-front-submit" lay-filter="LAY-front-submit" lay-submit="" type="button" value="确认">
            </input>
        </div>
    </div>
</div>
<script>
    layui.use(['index', 'form', 'upload'], function(){
    var $ = layui.$
    ,form = layui.form
    ,upload = layui.upload 
    , e = layui.layer;
    
    
 
  })
</script>